package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.YzlScheduleTask;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 任务视图对象 yzl_schedule_task
 *
 * @author wfy
 * @date 2025-09-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = YzlScheduleTask.class)
public class YzlScheduleTaskVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    private Long parentId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;

    /**
     * 编制主键
     */
    @ExcelProperty(value = "编制主键")
    private Long formationId;

    /**
     * 任务名称
     */
    @ExcelProperty(value = "任务名称")
    private String taskName;

    /**
     * WBS
     */
    @ExcelProperty(value = "WBS")
    private String wbs;

    /**
     * 工期
     */
    @ExcelProperty(value = "工期")
    private String workDay;

    /**
     * 工时
     */
    @ExcelProperty(value = "工时")
    private String workTime;

    /**
     * 完成百分比
     */
    @ExcelProperty(value = "完成百分比")
    private Float completionPercentage;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 限制类型(1越早越好2越晚越好3必须开始于4必须完成于5不得早于...开始6不得晚于..开始7不得早于...完成8不得晚于...完成)
     */
    @ExcelProperty(value = "限制类型(1越早越好2越晚越好3必须开始于4必须完成于5不得早于...开始6不得晚于..开始7不得早于...完成8不得晚于...完成)")
    private String restrictionType;

    /**
     * 限制日期
     */
    @ExcelProperty(value = "限制日期")
    private Date restrictionDay;

    /**
     * 里程碑(0否 1是)
     */
    @ExcelProperty(value = "里程碑(0否 1是)")
    private String milestone;

    /**
     * 关键任务(0否 1是)
     */
    @ExcelProperty(value = "关键任务(0否 1是)")
    private String keyTask;


}
